


export default  class Preloading{


    run(name,paty,value,type){

        let pa = [];

        //解析依赖文件
        //加载依赖
        //返回依赖成功
        let root= qguan("root")
        let data=root.findData(name)

        pa.push(data)

        return  new Promise(resolve => {
            Promise.all(pa).then(res=>{
                resolve(200)
            })
        })


    }
}